package WEB.Servlet.Actions;

import DB.exceptions.DoctorDaoException;
import DB.exceptions.PersonDaoException;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

public interface Action{
    public String perform(HttpServletRequest request, HttpServletResponse response) throws IOException;
    public void writeToResponseStream(HttpServletResponse response, String output);

}